Skip to content

faster parachain registration for polkadot-launch tests#352

Closed
amarsinghcodes wants to merge 1 commit intomasterfrom
amar-faster-parachain-registration
Closed

faster parachain registration for polkadot-launch tests#352
amarsinghcodes wants to merge 1 commit intomasterfrom
amar-faster-parachain-registration

Conversation

@amarsinghcodes
Copy link
Contributor

Opening this for discussion, not for review or to be merged.

There are two approaches to make parachain registration faster for the polkadot-launch tests:

  1. register parachains in relay chain genesis
  2. shorten the block time for the first two sessions

See #311 (comment) for an explanation of (1). I like it because it would make the ParaLifecycle of the parachains registered at genesis Parachain immediately. The way it works now, we register after genesis and then the ParaLifecycle is Onboarding for 2 sessions. During this time, we cannot open a channel with other parachains which is required for testing XCMP.

There is a genesis config for the paras pallet, but it is not currently exposed in the rococo runtime:

Paras: parachains_paras::{Pallet, Call, Storage},

So in order to pursue (1), we first need to add Config<T> there (PR polkadot).

@amarsinghcodes
Copy link
Contributor Author

amarsinghcodes commented Apr 13, 2021

Should be sufficient for our testing purposes moonbeam-foundation/polkadot#1

but it's not building locally now :/

@amarsinghcodes
Copy link
Contributor Author

Required change made in https://github.com/paritytech/polkadot/pull/2886/files , will close this for now and someone else can bring it back

@amarsinghcodes amarsinghcodes deleted the amar-faster-parachain-registration branch April 15, 2021 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant